#include "stdafx.h"
#include "VS2010CtxMenuFixApp.h"

#define MAX_LOADSTRING 100

CAppResources::CAppResources()
{
    Initialize();
}

void CAppResources::Initialize()
{
    m_lpAppTitle = new TCHAR[MAX_LOADSTRING];
    LoadString(g_hInst, IDS_APP_TITLE, m_lpAppTitle, MAX_LOADSTRING);

    m_lpStartQuestion = new TCHAR[MAX_LOADSTRING];
    LoadString(g_hInst, IDS_START_QUESTION, m_lpStartQuestion, MAX_LOADSTRING);

    HMENU hTrayMenu = LoadMenu(g_hInst, MAKEINTRESOURCE(IDC_TRAYMENU));
    m_hTrayMenu = GetSubMenu(hTrayMenu, 0);
}
